package com.example.auth.service;

import com.example.auth.domain.UserPhone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.config.exception.GlobalExcetion;

/**
* @author CETC
* @description 针对表【user_phone_0】的数据库操作Service
* @createDate 2025-11-01 16:17:14
*/
public interface UserPhoneService extends IService<UserPhone> {

    public UserPhone getUserPhoneByPhone(String phone);

    public UserPhone saveUserPhone(UserPhone userPhone) throws GlobalExcetion;

    public void deleteUserPhoneByPhone(String phone);

    public UserPhone updateUserPhoneById(UserPhone userPhone);

}
